package com.dqyt.khjc.bean;

import lombok.Data;

/**
 * 登录记录
 */
@Data
public class LoginHistory extends BaseBean {

    //
    private long id;
    //用户id
    private long userId;
    // 用户名称
    private String userName;
    // 用户手机号
    private String userPhone;
    //用户账号
    private String userAccount;
    //用户类型
    private int userType;
    //登录ip地址
    private String ip;
    /**
     * 更多信息
     */
    private String msg;

    //记录时间
    private long time;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public String getUserAccount() {
        return userAccount;
    }

    public void setUserAccount(String userAccount) {
        this.userAccount = userAccount;
    }

    public int getUserType() {
        return userType;
    }

    public void setUserType(int userType) {
        this.userType = userType;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }


}
